package com.shop.cereshop.commons.domain.agentSearch;

/**
 * 搜索历史表实体类
 */
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;

@Data
@TableName("cere_agent_search_history")
public class CereAgentSearchHistory {

    @TableId(value = "history_id", type = IdType.AUTO)
    private Long historyId;

    @ApiModelProperty(value = "用户ID")
    private Long agentUserId;

    @ApiModelProperty(value = "角色类型 1-代理商，2-业务员，3-股东")
    private Integer roleType;

    @ApiModelProperty(value = "搜索关键词")
    private String searchKeyword;

    @ApiModelProperty(value = "搜索时间")
    private LocalDateTime searchTime;

    @ApiModelProperty(value = "是否删除：1-是，0-否")
    private Integer deleted;

    @ApiModelProperty(value = "搜索次数")
    private Long number;
}

